﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BOSS.Domain.Products
{
    /// <summary>
    /// 消费明细
    /// </summary>                          
    public class ConsumptionItem : Entity<int>
    {
        /// <summary>
        /// 获取 / 设置 消费记录
        /// </summary>
        public virtual ConsumptionRecord ConsumptionRecord { get; set; }

        /// <summary>
        /// 获取 / 设置 消费的产品
        /// </summary>
        public virtual Product Product { get; set; }

        /// <summary>
        /// 获取 / 设置 消费赠送次数
        /// </summary>
        public virtual int DonatedCount { get; set; }

        /// <summary>
        /// 获取 / 设置 消费购买次数
        /// </summary>
        public virtual int ChargedCount { get; set; }
    }
}
